package com.zdkj.subway.st.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 子类型票卡参数表
 *
 * @author cuilei
 * @date 2020-06-01 14:16:02
 */
@Data
@TableName("sw_pm_ticket_card_type_param")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "子类型票卡参数表")
public class SwPmTicketCardTypeParam extends Model<SwPmTicketCardTypeParam> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    @ExcelIgnore
    private Integer id;
    /**
     * 主类型名称
     */
    @ApiModelProperty(value = "主类型名称")
    private String mainName;
    /**
     * 主类型名称英文缩写
     */
    @ApiModelProperty(value = "主类型名称英文缩写")
    private String mainEnName;
    /**
     * 子类型名称
     */
    @ApiModelProperty(value = "子类型名称")
    private String subName;
    /**
     * 子类型名称英文缩写
     */
    @ApiModelProperty(value = "子类型名称英文缩写")
    private String subEnName;
    /**
     * 状态:0:未启用;1:启用
     */
    @ApiModelProperty(value = "状态:0:未启用;1:启用")
    private String status;
    /**
     * 票区名称
     */
    @ApiModelProperty(value = "票区名称")
    private String ticketAreaName;
    /**
     * 车票余额
     */
    @ApiModelProperty(value = "车票余额")
    private BigDecimal ticketAmount;
    /**
     * 车票次数
     */
    @ApiModelProperty(value = "车票次数")
    private Integer ticketCount;
    /**
     * 有效期
     */
    @ApiModelProperty(value = "有效期(天)")
    private Integer expirationDate;
    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    private Integer creatorId;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String creatorName;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    /**
     *
     */
    @TableLogic
    private String delFlag;
}
